<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;
use common\models\setting\Setting;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<?php 
    //网站logo
    $imgLOGO = '';
    try { $imgLOGO = Setting::findOne(['code'=>'imgLOGO'])->value;}
    catch(ErrorException $e){ }

?>
<body style=" background:url(<?= yii::getAlias('@web');?>/images/qrcodeBackground.jpg) no-repeat #171717; background-size: 100%;">
<?php $this->beginBody() ?>

    <?= $this->render('content.php',['content'=>$content]); ?>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
